<template>
  <div class="user_layout">
    <div>Ant Design Vue Pro</div>
    <div id="nav">
      <router-link to="/user/login">login</router-link> |
      <router-link to="/user/register">register</router-link>
    </div>
    <router-view></router-view>
  </div>
</template>
<script>
export default {};
</script>
<style lang="less" scoped>
.user_layout {
  text-align: center;
}
a {
  font-weight: bold;
  color: #2c3e50;

  &.router-link-exact-active {
    color: #42b983;
  }
}
</style>
